package com.css.dzj.zfjg.modules.supervisioncompinfo.entity;

import javax.persistence.*;
import java.util.Objects;

/**
 * 监管催办信息表
 */
@Entity
@Table(name = "JG_TSJB_URGE_INFO", schema = "DZJZFJG", catalog = "")
public class JgTsjbUrgeInfoEntity {
    private String registerCode;
    private String id;
    private String superviseDate;
    private String superviseType;
    private String superviseDepartment;
    private String supervisePerson;
    private String superviseWords;
    private String processCode;

    @Id
    @Column(name = "Register_Code")
    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    @Basic
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "supervise_date")
    public String getSuperviseDate() {
        return superviseDate;
    }

    public void setSuperviseDate(String superviseDate) {
        this.superviseDate = superviseDate;
    }

    @Basic
    @Column(name = "supervise_type")
    public String getSuperviseType() {
        return superviseType;
    }

    public void setSuperviseType(String superviseType) {
        this.superviseType = superviseType;
    }

    @Basic
    @Column(name = "supervise_department")
    public String getSuperviseDepartment() {
        return superviseDepartment;
    }

    public void setSuperviseDepartment(String superviseDepartment) {
        this.superviseDepartment = superviseDepartment;
    }

    @Basic
    @Column(name = "supervise_person")
    public String getSupervisePerson() {
        return supervisePerson;
    }

    public void setSupervisePerson(String supervisePerson) {
        this.supervisePerson = supervisePerson;
    }

    @Basic
    @Column(name = "supervise_words")
    public String getSuperviseWords() {
        return superviseWords;
    }

    public void setSuperviseWords(String superviseWords) {
        this.superviseWords = superviseWords;
    }

    @Basic
    @Column(name = "Process_Code")
    public String getProcessCode() {
        return processCode;
    }

    public void setProcessCode(String processCode) {
        this.processCode = processCode;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgTsjbUrgeInfoEntity that = (JgTsjbUrgeInfoEntity) o;
        return Objects.equals(registerCode, that.registerCode) &&
                Objects.equals(id, that.id) &&
                Objects.equals(superviseDate, that.superviseDate) &&
                Objects.equals(superviseType, that.superviseType) &&
                Objects.equals(superviseDepartment, that.superviseDepartment) &&
                Objects.equals(supervisePerson, that.supervisePerson) &&
                Objects.equals(superviseWords, that.superviseWords) &&
                Objects.equals(processCode, that.processCode);
    }

    @Override
    public int hashCode() {
        return Objects.hash(registerCode, id, superviseDate, superviseType, superviseDepartment, supervisePerson, superviseWords, processCode);
    }
}
